package com.rmy.publish.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rmy.common.annotation.Excel;
import com.rmy.common.core.domain.BaseEntity;

/**
 * 素材管理对象 mips_material_files
 * 
 * @author rmy
 * @date 2023-05-17
 */
public class MipsMaterialFiles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 素材主键 */
    private Long materialId;

    /** 素材名称 */
    @Excel(name = "素材名称")
    private String materialName;

    /** 素材类型 */
    @Excel(name = "素材类型")
    private String materialType;

    /** 文件原始名 */
    @Excel(name = "文件原始名")
    private String fileOriginal;

    /** 文件扩展名 */
    @Excel(name = "文件扩展名")
    private String fileExtension;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 预览路径 */
    @Excel(name = "预览路径")
    private String filePreview;

    /** 素材路径 */
    @Excel(name = "素材路径")
    private String filePath;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private Long deptId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }
    public void setFileOriginal(String fileOriginal) 
    {
        this.fileOriginal = fileOriginal;
    }

    public String getFileOriginal() 
    {
        return fileOriginal;
    }
    public void setFileExtension(String fileExtension) 
    {
        this.fileExtension = fileExtension;
    }

    public String getFileExtension() 
    {
        return fileExtension;
    }
    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }
    public void setFilePreview(String filePreview) 
    {
        this.filePreview = filePreview;
    }

    public String getFilePreview() 
    {
        return filePreview;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialId", getMaterialId())
            .append("materialName", getMaterialName())
            .append("materialType", getMaterialType())
            .append("fileOriginal", getFileOriginal())
            .append("fileExtension", getFileExtension())
            .append("fileSize", getFileSize())
            .append("filePreview", getFilePreview())
            .append("filePath", getFilePath())
            .append("deptId", getDeptId())
            .append("auditStatus", getAuditStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
